<template>
  <div class="maintain-layout">
    <snackbar style-color="#4A4A4A"
              back-color="#FFFFFF"
              status-color="#FFFFFF"
              :showBack="false"
              :fixed="true">
    </snackbar>
    <div class="div" >
      <div class="images">
        <img class="icon-go" src="@/assets/image/banner@2x.png">
      </div>
      <div class="notice">
        <span>亲！邀请注册有奖励，转发有惊喜！</span>
        <span>邀请注册</span>
      </div>
      <div class="Function">
        <span>功能列表</span>
      </div>
      <div class="list">
        <div class="list-text">
          <img style="width: 21px;height: 30px" class="icon-gos" src="@/assets/image/jiayou.png">
          <span>加油</span>
        </div>
        <div class="list-text">
          <img class="icon-gos" src="@/assets/image/automobile.png">
          <span>机械管理</span>
        </div>
        <div class="list-text">
          <img class="icon-gos" src="@/assets/image/repair.png">
          <span>车辆维修</span>
        </div>
        <div class="list-text">
          <img class="icon-gos" src="@/assets/image/sale.png">
          <span>项目管理</span>
        </div>
        <div class="list-text">
          <img class="icon-gos" src="@/assets/image/account.png">
          <span>人员管理</span>
        </div>
        <div class="list-text">
          <img class="icon-gos" src="@/assets/image/Commodity.png">
          <span>其他</span>
        </div>
      </div>


    </div>
    <div class="notJoined">
      <span>您未加入公司，请完善</span>
      <span>去完善</span>
    </div>
    <div class="bottom-layout">
      <div>
        <img class="icon" src="@/assets/image/Combined Shape.png">
        <span class="add-btn">首页</span>
      </div>
      <div>
        <img class="icon" src="@/assets/image/five-pointed star.png">
        <span class="add-span">发现</span>
      </div>
      <div>
        <img class="icon" src="@/assets/image/my.png">
        <span class="add-span">我的</span>
      </div>
    </div>


  </div>
</template>


<script>
</script>


<style lang="scss" scoped>
.maintain-layout {
  width: 100%;
  height: 100vh;
  background: #ffffff;

  .div {
    width: 100%;
    height: 82vh;
    .images {
      width: 95%;
      //height: 30vh;
      margin: 15px auto 0 auto;

      .icon-go {
        width: 100%;
        height: 30vh;
        border-radius: 3px;
      }
    }

    .notice {
      width: 95%;
      height: 6vh;
      font-size: 0.4rem;
      background: #FAFAFA;
      margin: 0 auto;
      line-height: 6vh;

      span:nth-child(1) {
        margin-left: 8%;
      }

      span:nth-child(2) {
        display: inline-block;
        width: 20%;
        height: 4vh;
        float: right;
        margin-top: 5px;
        margin-right: 3%;
        text-align: center;
        line-height: 4vh;
        border-radius: 5px;
        color: #ffffff;
        background: #F7B500;

      }
    }

    .Function {
      width: 95%;
      height: 5vh;
      margin: 20px auto 0 auto;
      font-size: 0.5rem;

      span {
        margin-left: 3%;
      }
    }

    .list {
      width: 94%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: auto auto auto;
      .list-text {
        width: 80%;

        text-align: center;
        margin: 20px 0 0 4%;

        span {
          display: block;
          font-size: 0.4rem;
          margin-top: 10px;
        }

        .icon-gos {
          width: 30px;
          height: 30px;
        }
      }
    }
  }

  .notJoined {
    width: 100%;
    height: 7vh;
    background: #FFE9C4;
    font-size: 0.45rem;
    line-height: 7vh;
    position: fixed;
    bottom: 8vh;
    span:nth-child(1){
      display: inline-block;
      width: 65%;
      height: 4vh;
      line-height: 4vh;
      color: #F5A623;
      margin-left: 6%;
    }

    span:nth-child(2) {
      display: inline-block;
      width: 20%;
      border-radius: 4px;
      text-align: center;
      height: 5vh;
      line-height: 5vh;
      background: #F5A623;
      color: #FFFFFF;
    }
  }
  .bottom-layout {
    position: fixed;
    bottom: 0px;
    width: 100vw;
    height: 8vh;
    display: flex;
    flex-direction: row;
    border-top: 1px solid #E8E8E8;
    align-items: center;
    .icon {
      width: 15px;
      height: 15px;
      background-color: #7ED785;
    }

    div {
      flex: 1;
      background: #FFFFFF;
      text-align: center;

      font-size: 0.3rem;
      color: #28C1C6;

      span {
        display: block;

      }
    }
  }
}
</style>
